package itsm.isperp.module.base;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * @Description
 * @Project isperp-itss
 * @Author ZhiYue
 * @Date 2020/5/26 17:43
 */
public class Model implements Serializable {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        try {
            return JSON.toJSONString(this);
        }catch (Exception e) {
            e.printStackTrace();
            return super.toString();
        }
    }
}
